package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SysAClientListMapper;
import com.ruoyi.system.domain.SysAClientList;
import com.ruoyi.system.service.ISysAClientListService;
import com.ruoyi.common.core.text.Convert;

/**
 * 客户测试Service业务层处理
 * 
 * @author ruoyi
 * @date 2021-11-08
 */
@Service
public class SysAClientListServiceImpl implements ISysAClientListService 
{
    @Autowired
    private SysAClientListMapper sysAClientListMapper;

    /**
     * 查询客户测试
     * 
     * @param clientId 客户测试主键
     * @return 客户测试
     */
    @Override
    public SysAClientList selectSysAClientListByClientId(String clientId)
    {
        return sysAClientListMapper.selectSysAClientListByClientId(clientId);
    }

    /**
     * 查询客户测试列表
     * 
     * @param sysAClientList 客户测试
     * @return 客户测试
     */
    @Override
    public List<SysAClientList> selectSysAClientListList(SysAClientList sysAClientList)
    {
        return sysAClientListMapper.selectSysAClientListList(sysAClientList);
    }

    /**
     * 新增客户测试
     * 
     * @param sysAClientList 客户测试
     * @return 结果
     */
    @Override
    public int insertSysAClientList(SysAClientList sysAClientList)
    {
        return sysAClientListMapper.insertSysAClientList(sysAClientList);
    }

    /**
     * 修改客户测试
     * 
     * @param sysAClientList 客户测试
     * @return 结果
     */
    @Override
    public int updateSysAClientList(SysAClientList sysAClientList)
    {
        return sysAClientListMapper.updateSysAClientList(sysAClientList);
    }

    /**
     * 批量删除客户测试
     * 
     * @param clientIds 需要删除的客户测试主键
     * @return 结果
     */
    @Override
    public int deleteSysAClientListByClientIds(String clientIds)
    {
        return sysAClientListMapper.deleteSysAClientListByClientIds(Convert.toStrArray(clientIds));
    }

    /**
     * 删除客户测试信息
     * 
     * @param clientId 客户测试主键
     * @return 结果
     */
    @Override
    public int deleteSysAClientListByClientId(String clientId)
    {
        return sysAClientListMapper.deleteSysAClientListByClientId(clientId);
    }
}
